package com.ys.service.finance;

import com.ys.vo.R;

import java.util.List;
import java.util.Map;

/**
 * 预付款退回申请
 */
public interface TcwPaymentReturnService {

	R add(Map<String, Object> params, String subData) throws Exception ;
	//预付款退回申请修改
	R edit(Map<String, Object> params, String subData) throws Exception ;

	R flowPass(Long id, String loginUserId) throws Exception;

	R flowRefuse(Long id,String reason, String loginUserId) throws Exception;

	R flowInit(Long id,String reason, String loginUserId) throws Exception;

	//删除
	R del(Long id)throws Exception;

	R cancel(String bid,Long id);


	//获取列表数据
	Map<String,Object> getExtraParam( String bid) throws Exception;

	//获取子列表数据
	List<Map<String, Object>> getItemList(String bid) throws Exception;

}